package com.fqgj.sentry.policy.entity;
import com.fqgj.common.entity.BaseEntity;
import java.math.BigDecimal;

/**
* User: liupengpeng
* Date: 2017-11-24
* Time: 18:05:09.290
* TableDesc:
*/
public class PcPolicyEntity extends BaseEntity{
    /**
    *策略集id
    */
    private Long policySetsId;
    /**
    *执行者id
    */
    private Long executorId;
    /**
    *策略编码
    */
    private String code;
    /**
    *名称
    */
    private String name;
    /**
    *匹配类型 1：首次匹配 2最坏匹配 3 权重匹配
    */
    private Integer matchingType;
    /**
    *权重范围区间
    */
    private String weightRange;
    /**
    *策略类型 1：规则组 2评分卡
    */
    private Integer type;
    /**
    *基础分
    */
    private BigDecimal baseScore;
    /**
    *风险类型 待定
    */
    private Integer riskType;
    /**
    *说明
    */
    private String info;
    /**
    *字段:评分卡时展示
    */
    private String columnCode;
    /**
    *字段描述
    */
    private String columnName;
    /**
    *排序
    */
    private Integer sort;


    public  Long getPolicySetsId(){
        return this.policySetsId;
    }

    public  PcPolicyEntity setPolicySetsId(Long policySetsId){
        this.policySetsId = policySetsId;
        return this;
    }

    public  Long getExecutorId(){
        return this.executorId;
    }

    public  PcPolicyEntity setExecutorId(Long executorId){
        this.executorId = executorId;
        return this;
    }

    public  String getCode(){
        return this.code;
    }

    public  PcPolicyEntity setCode(String code){
        this.code = code;
        return this;
    }

    public  String getName(){
        return this.name;
    }

    public  PcPolicyEntity setName(String name){
        this.name = name;
        return this;
    }

    public  Integer getMatchingType(){
        return this.matchingType;
    }

    public  PcPolicyEntity setMatchingType(Integer matchingType){
        this.matchingType = matchingType;
        return this;
    }

    public  String getWeightRange(){
        return this.weightRange;
    }

    public  PcPolicyEntity setWeightRange(String weightRange){
        this.weightRange = weightRange;
        return this;
    }

    public  Integer getType(){
        return this.type;
    }

    public  PcPolicyEntity setType(Integer type){
        this.type = type;
        return this;
    }

    public  BigDecimal getBaseScore(){
        return this.baseScore;
    }

    public  PcPolicyEntity setBaseScore(BigDecimal baseScore){
        this.baseScore = baseScore;
        return this;
    }

    public  Integer getRiskType(){
        return this.riskType;
    }

    public  PcPolicyEntity setRiskType(Integer riskType){
        this.riskType = riskType;
        return this;
    }

    public  String getInfo(){
        return this.info;
    }

    public  PcPolicyEntity setInfo(String info){
        this.info = info;
        return this;
    }

    public  String getColumnCode(){
        return this.columnCode;
    }

    public  PcPolicyEntity setColumnCode(String columnCode){
        this.columnCode = columnCode;
        return this;
    }

    public  String getColumnName(){
        return this.columnName;
    }

    public  PcPolicyEntity setColumnName(String columnName){
        this.columnName = columnName;
        return this;
    }

    public  Integer getSort(){
        return this.sort;
    }

    public  PcPolicyEntity setSort(Integer sort){
        this.sort = sort;
        return this;
    }
}
